$btn_col1: #f3b531;
$btn_col1_hov: #fe9916;
$mian-col: #fc6907;
$mian-col-hov: #da4f0a;
$border-col: #e5e5e5;
$font-col: #898989;
$logo-shadow-col: rgba(252, 105, 7, 0.5);
$login-li: #feb416;
$grid-selected: #fce0a4;
$font-family: Arial,
'Times New Roman',
SimHei;
body {
    background: #212121;
    font-family: $font-family !important;
}

* {
    margin: 0;
    padding: 0;
}


/***login in**/

.login-page {
    width: 100%;
    position: absolute;
    top: 56%;
}

.login-block {
    top: 50%;
    left: 50%;
    margin-top: -131px;
    margin-left: -342px;
    width: 684px;
    height: 262px;
    position: absolute;
    display: block;
    text-align: center;
}

.welcome {
    width: 100%;
    height: 42px;
    line-height: 42px;
    text-align: center;
    font-size: 18px;
    border-bottom: 4px #212121 solid;
    color: #fff;
    span {
        font-family: $font-family;
    }
}

.form-login-error {
    color: $mian-col;
    font-size: 13px;
    height: 4px;
}

.login-content {
    background-color: #333333;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    text-align: center;
}

.logo-box {
    float: left;
    background: url("../images/login_logo_pact.png") no-repeat 50% 40%;
    width: 220px;
    height: 220px;
    border-right: 4px #212121 solid;
}

.login-form {
    width: 460px;
    float: right;
    margin-top: 40px;
}

.form-group {
    position: relative;
    text-align: center;
    vertical-align: middle;
}

.login-relVal {
    width: 100%;
    height: 32px;
    line-height: 32px;
    border: 1px solid #555;
    border-right: none;
    font-size: 16px;
    /* font-family: arial, SimHeiMT;*/
    color: $font-col;
    text-indent: 12px;
}

.login-choose {
    margin-left: 40px;
    float: left;
    width: 140px;
    height: 32px;
    display: inline-block;
}

.login-choose-btn {
    cursor: pointer;
    position: absolute;
    height: 32px;
    width: 32px;
    color: white;
    top: 0;
    left: 154px;
}

.icon-down {
    position: relative;
    width: 100%;
    height: 100%;
}

.login-form .list-group {
    width: 140px;
    border: 1px $mian-col solid;
    background: #3f3f3f;
    box-shadow: $mian-col 0px 2px 8px;
    margin-top: 2px;
}

.login-content .btn-login {
    width: 190px;
    float: left;
    height: 32px;
    border-radius: 3px;
    margin-left: 50px;
    color: #fff;
    font-size: 16px;
    background: $mian-col;
    border: none;
    font-family: $font-family;
    margin-top: 2px;
}

.icon-down:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -2px 0 0 -5px;
}

.userRoleList.show {
    height: 120px;
}

.userRoleList {
    position: absolute;
    width: 100%;
    height: 0;
    overflow: hidden;
    z-index: 1;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

.userRoleList li {
    border-radius: 0;
    height: 24px;
    font-size: 14px;
    background-color: #3f3f3f;
    position: relative;
    color: #898989;
    font-family: $font-family;
    border: none;
    padding: 0;
    margin: 4px;
    text-align: left;
    text-indent: 12px;
}

.userRoleList li:hover,
.userRoleList li.selected {
    color: #fff;
    background-color: #707070;
    cursor: pointer;
}

.userRoleList .list-group-item:first-child,
.userRoleList .list-group-item:last-child {
    border-radius: 0;
}

.userRoleList .list-group-item:first-child {
    border-top: 0;
}

.login-choose-btn:hover .login-choose-btn:active .login-choose-btn:focus {
    background-color: $btn_col1_hov;
}

.login-form .input-group {
    width: 80%;
    margin-left: 48px;
    input {
        height: 32px;
        border-radius: 3px !important;
        border: 1px #555 solid;
        padding: 0;
        text-indent: 12px;
        &:focus {
            color: #fff;
            border: 1px $mian-col solid;
            box-shadow: 0 1px 8px $mian-col;
        }
    }
}

.login-content .input-group-addon {
    position: absolute;
    left: 14px;
    height: 36px;
    z-index: 5;
    border: none;
}

.login-content input {
    height: 32px;
    background-color: #3f3f3f !important;
    color: #fff;
    font-size: 16px;
    border-radius: 3px;
}

.login-page input.ng-empty {
    background-color: #f0eceb;
}

button {
    outline: none;
    &[disabled] {
        cursor: no-drop;
    }
}


/***login in**/


/*repeat ui style*/

.ui-message {
    position: absolute;
    right: 0;
    top: -33px;
    background: black;
    border: none;
    margin: 0;
    z-index: 100;
    font-family: $font-family;
    &:before {
        left: 50%;
        bottom: -5px;
        margin-top: -5px;
        content: "";
        display: block;
        position: absolute;
        width: 0px;
        height: 0px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid black;
    }
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.styles {
    display: inline-block;
    margin-left: 7px;
    .ui-dropdown-trigger,
    .ui-corner-right {
        border: none !important;
    }
    .ui-inputtext,
    .ui-dropdown .ui-dropdown-trigger {
        background: #434343 !important;
        color: #fff;
    }
    .ui-dropdown-panel .ui-dropdown-list {
        background: #434343;
        color: #fff;
    }
    .ui-state-highlight,
    .ui-state-hover {
        background: rgba(112, 112, 112, 1);
        color: #fff;
    }
    .ui-state-default {
        background: none;
        border: 1px solid rgba(214, 214, 214, 0.28);
    }
    .ui-state-focus {
        box-shadow: none;
    }
    .ui-dropdown .ui-dropdown-panel {
        border: none;
        .ui-dropdown-item {
            margin: 4px 0;
            height: 18px;
            line-height: 18px;
            text-indent: 17px;
            border-radius: 0;
        }
    }
}


/**selectbutton**/

.ui-selectbutton {
    width: 150px;
    .ui-button.ui-state-default {
        border: none;
        background: #434343;
        font-family: $font-family;
        color: #fff;
        width: 5em;
        span {
            font-weight: 100;
            height: 18px;
            line-height: 18px;
        }
        &:hover {
            background: #626262;
            color: #ffffff;
            &.ui-state-active {
                background: #fff;
                color: #666666;
            }
        }
        &:first-child {
            border-right: 1px solid #ddd;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }
        &:last-child {
            border-left: 1px solid #ddd;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }
    }
}

.ui-selectbutton .ui-button.ui-state-active {
    background: #fff;
    color: #434343
}